import type { RouteRecordRaw } from 'vue-router'

export const articleRoutes: RouteRecordRaw[] = [
  {
    path: '/articles',
    name: 'articles',
    component: () => import('@/views/article/ArticleListView.vue'),
    meta: { title: '文章' },
  },
  {
    path: '/articles/new',
    name: 'article-create',
    component: () => import('@/views/article/ArticleCreateView.vue'),
    meta: { title: '发表文章' },
  },
]
